<?php

/**
 * @author luonghx
 * @copyright 2013
 */

class landing_model extends CI_Model
{
    function __construct(){
        parent::__construct();
    }
    
    function get_content_by_id($id){
        $this->db->select('*')
                 ->from('landing_content')
                 ->where('id',$id);
        $rs = $this->db->get();
        $data = $rs->result_array();
        $rs->free_result();
        return $data;
        
    }
    
}

?>